package com.sanri.buildingblock.exportcenter.remote;

import com.dtflys.forest.annotation.Address;
import com.dtflys.forest.annotation.Post;
import com.sanri.buildingblock.exportcenter.configs.EnvAddressSource;
import com.sanri.buildingblock.exportcenter.remote.dto.TaskConfig;

/**
 * @description:
 * @author: huangzhengri
 * @time: 2023-04-17 9:47
 */
@Address(source = EnvAddressSource.class)
public interface TaskAdmin {
    /**
     * 注册任务
     * @param taskConfig
     */
    @Post("/admin/register")
    void register(TaskConfig taskConfig);
}
